/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

/**
 *
 * @author TiOc
 */
public class ProductDetail implements java.io.Serializable
{
    //<editor-fold defaultstate="collapsed" desc="1. Các thuộc tính">
    private int idProductDetail;
    private String nameProduct;
    private String detailMicroProcessor;
    private String detailMicroProcessorCache;
    private String detailCpu;
    private String detailRam;
    private String detailGraphic;
    private String detailHdd;
    private String detailHardDisk;
    private String detailIntegrated;
    private String detailDisplay;
    private String detailNetwork;
    private String detailWireless;
    private String detailKeyboard;
    private String detailPointingDevice;
    private String detailExternalPort;
    private String detailOperatingSystem;
    private String detailBattery;
    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="2. Các phương thức khởi tạo">
    public ProductDetail()
    {
        this.idProductDetail = -1;
        this.nameProduct = "";
        this.detailMicroProcessor = "";
        this.detailMicroProcessorCache = "";
        this.detailCpu = "";
        this.detailRam = "";
        this.detailGraphic = "";
        this.detailHdd = "";
        this.detailHardDisk = "";
        this.detailIntegrated = "";
        this.detailDisplay = "";
        this.detailNetwork = "";
        this.detailWireless = "";
        this.detailKeyboard = "";
        this.detailPointingDevice = "";
        this.detailExternalPort = "";
        this.detailOperatingSystem = "";
        this.detailBattery = "";
    }

    public ProductDetail(int idProductDetail, String nameProduct, String detailMicroProcessor, String detailMicroProcessorCache, String detailCpu, String detailRam, String detailGraphic, String detailHdd, String detailHardDisk, String detailIntegrated, String detailDisplay, String detailNetwork, String detailWireless, String detailKeyboard, String detailPointingDevice, String detailExternalPort, String detailOperatingSystem, String detailBattery) 
    {
        this.idProductDetail = idProductDetail;
        this.nameProduct = nameProduct;
        this.detailMicroProcessor = detailMicroProcessor;
        this.detailMicroProcessorCache = detailMicroProcessorCache;
        this.detailCpu = detailCpu;
        this.detailRam = detailRam;
        this.detailGraphic = detailGraphic;
        this.detailHdd = detailHdd;
        this.detailHardDisk = detailHardDisk;
        this.detailIntegrated = detailIntegrated;
        this.detailDisplay = detailDisplay;
        this.detailNetwork = detailNetwork;
        this.detailWireless = detailWireless;
        this.detailKeyboard = detailKeyboard;
        this.detailPointingDevice = detailPointingDevice;
        this.detailExternalPort = detailExternalPort;
        this.detailOperatingSystem = detailOperatingSystem;
        this.detailBattery = detailBattery;
    }
  
    public ProductDetail(ProductDetail pddt)
    {
        this.idProductDetail = pddt.idProductDetail;
        this.nameProduct = pddt.nameProduct;
        this.detailMicroProcessor = pddt.detailMicroProcessor;
        this.detailMicroProcessorCache = pddt.detailMicroProcessorCache;
        this.detailCpu = pddt.detailCpu;
        this.detailRam = pddt.detailRam;
        this.detailGraphic = pddt.detailGraphic;
        this.detailHdd = pddt.detailHdd;
        this.detailHardDisk = pddt.detailHardDisk;
        this.detailIntegrated = pddt.detailIntegrated;
        this.detailDisplay = pddt.detailDisplay;
        this.detailNetwork = pddt.detailNetwork;
        this.detailWireless = pddt.detailWireless;
        this.detailKeyboard = pddt.detailKeyboard;
        this.detailPointingDevice = pddt.detailPointingDevice;
        this.detailExternalPort = pddt.detailExternalPort;
        this.detailOperatingSystem = pddt.detailOperatingSystem;
        this.detailBattery = pddt.detailBattery;
    }

    //</editor-fold>

    //<editor-fold defaultstate="collapsed" desc="3. Các phương thức get/set">

    public String getDetailBattery() {
        return detailBattery;
    }

    public void setDetailBattery(String detailBattery) {
        this.detailBattery = detailBattery;
    }

    public String getDetailCpu() {
        return detailCpu;
    }

    public void setDetailCpu(String detailCpu) {
        this.detailCpu = detailCpu;
    }

    public String getDetailDisplay() {
        return detailDisplay;
    }

    public void setDetailDisplay(String detailDisplay) {
        this.detailDisplay = detailDisplay;
    }

    public String getDetailExternalPort() {
        return detailExternalPort;
    }

    public void setDetailExternalPort(String detailExternalPort) {
        this.detailExternalPort = detailExternalPort;
    }

    public String getDetailGraphic() {
        return detailGraphic;
    }

    public void setDetailGraphic(String detailGraphic) {
        this.detailGraphic = detailGraphic;
    }

    public String getDetailHardDisk() {
        return detailHardDisk;
    }

    public void setDetailHardDisk(String detailHardDisk) {
        this.detailHardDisk = detailHardDisk;
    }

    public String getDetailHdd() {
        return detailHdd;
    }

    public void setDetailHdd(String detailHdd) {
        this.detailHdd = detailHdd;
    }

    public String getDetailIntegrated() {
        return detailIntegrated;
    }

    public void setDetailIntegrated(String detailIntegrated) {
        this.detailIntegrated = detailIntegrated;
    }

    public String getDetailKeyboard() {
        return detailKeyboard;
    }

    public void setDetailKeyboard(String detailKeyboard) {
        this.detailKeyboard = detailKeyboard;
    }

    public String getDetailMicroProcessor() {
        return detailMicroProcessor;
    }

    public void setDetailMicroProcessor(String detailMicroProcessor) {
        this.detailMicroProcessor = detailMicroProcessor;
    }

    public String getDetailMicroProcessorCache() {
        return detailMicroProcessorCache;
    }

    public void setDetailMicroProcessorCache(String detailMicroProcessorCache) {
        this.detailMicroProcessorCache = detailMicroProcessorCache;
    }

    public String getDetailNetwork() {
        return detailNetwork;
    }

    public void setDetailNetwork(String detailNetwork) {
        this.detailNetwork = detailNetwork;
    }

    public String getDetailOperatingSystem() {
        return detailOperatingSystem;
    }

    public void setDetailOperatingSystem(String detailOperatingSystem) {
        this.detailOperatingSystem = detailOperatingSystem;
    }

    public String getDetailPointingDevice() {
        return detailPointingDevice;
    }

    public void setDetailPointingDevice(String detailPointingDevice) {
        this.detailPointingDevice = detailPointingDevice;
    }

    public String getDetailRam() {
        return detailRam;
    }

    public void setDetailRam(String detailRam) {
        this.detailRam = detailRam;
    }

    public String getDetailWireless() {
        return detailWireless;
    }

    public void setDetailWireless(String detailWireless) {
        this.detailWireless = detailWireless;
    }

    public int getIdProductDetail() {
        return idProductDetail;
    }

    public void setIdProductDetail(int idProductDetail) {
        this.idProductDetail = idProductDetail;
    }

    public String getNameProduct() {
        return nameProduct;
    }

    public void setNameProduct(String nameProduct) {
        this.nameProduct = nameProduct;
    }
   
    @Override
    public String toString()
    {
        return this.nameProduct;
    }
    //</editor-fold>
}
